/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.check.checkstandardprocess.entity;

import com.jeeplus.modules.sys.entity.User;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 点检标准流程表单Entity
 * @author 刘明星
 * @version 2020-11-10
 */
@Data
public class CheckStandard extends DataEntity<CheckStandard> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="序号", align=2, sort=1)
	private String basicdataCheckNumber;		// 序号
	@ExcelField(title="设备名称", align=2, sort=2)
	private String equipmentName;		// 设备名称
	@ExcelField(title="部件名称", align=2, sort=3)
	private String partsName;		// 部件名称
	@ExcelField(title="零件名称", align=2, sort=4)
	private String sparePartsName;		// 零件名称
	@ExcelField(title="项目", align=2, sort=5)
	private String project;		// 项目
	@ExcelField(title="点检内容", align=2, sort=6)
	private String checkContent;		// 点检内容
	@ExcelField(title="设备状态", dictType="basicdata_part_device_node_running_state", align=2, sort=7)
	private String equipment;		// 设备状态
	@ExcelField(title="点检分工", dictType="check_job", align=2, sort=8)
	private String checkWork;		// 点检分工
	@ExcelField(title="点检时间", align=2, sort=9)
	private String checkCycle;		// 点检时间
	@ExcelField(title="点检", align=2, sort=10)
	private String basicdataCheckCheck;		// 点检
	@ExcelField(title="点检单位", align=2, sort=11)
	private String basicdataCheckCheckUnit;		// 点检单位
	@ExcelField(title="点检责任人", fieldType=User.class, value="checkUser.name", align=2, sort=12)
	private User checkUser;		// 点检责任人
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="点检初始时间", align=2, sort=13)
	private Date checkStartTime;		// 点检初始时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="检修时间", align=2, sort=14)
	private Date overhaulCycle;		// 检修时间
	@ExcelField(title="检修", align=2, sort=15)
	private String basicdataCheckFix;		// 检修
	@ExcelField(title="检修单位", align=2, sort=16)
	private String basicdataCheckFixUnit;		// 检修单位
	@ExcelField(title="检修责任人", fieldType=User.class, value="overhaulUser.name", align=2, sort=17)
	private User overhaulUser;		// 检修责任人
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="岗位时间", align=2, sort=18)
	private Date overhaulStartTime;		// 岗位时间
	@ExcelField(title="岗位", align=2, sort=19)
	private String postCycle;		// 岗位
	@ExcelField(title="岗位单位", align=2, sort=20)
	private String postUser;		// 岗位单位
	@ExcelField(title="岗位责任人", fieldType=User.class, value="postStartTime.name", align=2, sort=21)
	private User postStartTime;		// 岗位责任人
	@ExcelField(title="点检方法", dictType="check_method", align=2, sort=22)
	private String checkMethod;		// 点检方法
	@ExcelField(title="内容", align=2, sort=23)
	private String checkName;		// 内容
	@ExcelField(title="类别", dictType="basicdata_category", align=2, sort=24)
	private String category ;		// 类别
	@ExcelField(title="计量单位", dictType="basicdata_symbol_measure", align=2, sort=25)
	private String measurement;		// 计量单位
	@ExcelField(title="判断符号", dictType="basicdata_symbol", align=2, sort=26)
	private String judgmentSymbol;		// 判断符号
	@ExcelField(title="上限", align=2, sort=27)
	private String upperLimit;		// 上限
	@ExcelField(title="极限", align=2, sort=28)
	private String limit;		// 极限
	@ExcelField(title="判断", align=2, sort=29)
	private String ismanual;		// 判断
	@ExcelField(title="责任人", fieldType=User.class, value="checkStandard.name", align=2, sort=30)
	private User checkStandard;		// 责任人
	@ExcelField(title="点检责任人", fieldType=User.class, value="checkStandardRemaks.name", align=2, sort=31)
	private User checkStandardRemaks;		// 点检责任人
	@ExcelField(title="定性分析", align=2, sort=32)
	private String ration;		// 定性分析
	@ExcelField(title="流程实例id", align=2, sort=39)
	private String procInsId;		// 流程实例id
	
	public CheckStandard() {
		super();
	}

	public CheckStandard(String id){
		super(id);
	}
}